package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 就诊信息对象 gx_clinic
 * 
 * @author gx
 * @date 2022-05-07
 */
public class GxClinic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一id */
    private Long clinicId;

    /** 患者来源（字典） */
    @Excel(name = "患者来源", readConverterExp = "字=典")
    private String source;

    /** 诊断 */
    @Excel(name = "诊断")
    private String preDiagnose;

    /** 接诊医生/管床医生编码 */
    @Excel(name = "接诊医生/管床医生编码")
    private Long manageId;

    private String manageName;

    /** 一线医生编码 */
    @Excel(name = "一线医生编码")
    private Long firstDoctorId;

    private String firstDoctorName;

    /** 二线医生编码 */
    @Excel(name = "二线医生编码")
    private Long secondDoctorId;

    private String secondDoctorName;

    /** 病情摘要 */
    @Excel(name = "病情摘要")
    private String illnessSummary;

    /** 既往史 */
    @Excel(name = "既往史")
    private String preHistory;

    /** 家族史 */
    @Excel(name = "家族史")
    private String familyHistory;

    /** 病种（字典） */
    @Excel(name = "病种")
    private String disease;

    /** 科室（字典） */
    @Excel(name = "科室")
    private String department;

    /** 病区 */
    @Excel(name = "病区")
    private String ward;

    /** 病床 */
    @Excel(name = "病床")
    private String bedNum;

    /** 出院时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date outTime;
    /** 接收新入院人数字段 */
    private Long newTime;
    private Long outTimer;

    /** 就诊状态（字典） */
    @Excel(name = "就诊状态")
    private String status;

    /** 患者主索引 */
    @Excel(name = "患者主索引")
    private Long patientId;

    private String patientNo;

    private String patientName;

    private String patientGender;

    private Long patientAge;

    private String patientIdentityNo;

    public String getPatientIdentityNo() {
        return patientIdentityNo;
    }

    public void setPatientIdentityNo(String patientIdentityNo) {
        this.patientIdentityNo = patientIdentityNo;
    }

    public Long getOutTimer() {
        return outTimer;
    }

    public void setOutTimer(Long outTimer) {
        this.outTimer = outTimer;
    }

    public Long getNewTime() {
        return newTime;
    }

    public void setNewTime(Long newTime) {
        this.newTime = newTime;
    }

    public String getManageName() {
        return manageName;
    }

    public void setManageName(String manageName) {
        this.manageName = manageName;
    }

    public String getFirstDoctorName() {
        return firstDoctorName;
    }

    public void setFirstDoctorName(String firstDoctorName) {
        this.firstDoctorName = firstDoctorName;
    }

    public String getSecondDoctorName() {
        return secondDoctorName;
    }

    public void setSecondDoctorName(String secondDoctorName) {
        this.secondDoctorName = secondDoctorName;
    }

    public String getPatientNo() {
        return patientNo;
    }

    public void setPatientNo(String patientNo) {
        this.patientNo = patientNo;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Long getPatientAge() {
        return patientAge;
    }

    public void setPatientAge(Long patientAge) {
        this.patientAge = patientAge;
    }

    public String getPatientGender() {
        return patientGender;
    }

    public void setPatientGender(String patientGender) {
        this.patientGender = patientGender;
    }

    public void setClinicId(Long clinicId) 
    {
        this.clinicId = clinicId;
    }

    public Long getClinicId() 
    {
        return clinicId;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setPreDiagnose(String preDiagnose) 
    {
        this.preDiagnose = preDiagnose;
    }

    public String getPreDiagnose() 
    {
        return preDiagnose;
    }
    public void setManageId(Long manageId) 
    {
        this.manageId = manageId;
    }

    public Long getManageId() 
    {
        return manageId;
    }
    public void setFirstDoctorId(Long firstDoctorId) 
    {
        this.firstDoctorId = firstDoctorId;
    }

    public Long getFirstDoctorId() 
    {
        return firstDoctorId;
    }
    public void setSecondDoctorId(Long secondDoctorId) 
    {
        this.secondDoctorId = secondDoctorId;
    }

    public Long getSecondDoctorId() 
    {
        return secondDoctorId;
    }
    public void setIllnessSummary(String illnessSummary) 
    {
        this.illnessSummary = illnessSummary;
    }

    public String getIllnessSummary() 
    {
        return illnessSummary;
    }
    public void setPreHistory(String preHistory) 
    {
        this.preHistory = preHistory;
    }

    public String getPreHistory() 
    {
        return preHistory;
    }
    public void setFamilyHistory(String familyHistory) 
    {
        this.familyHistory = familyHistory;
    }

    public String getFamilyHistory() 
    {
        return familyHistory;
    }
    public void setDisease(String disease) 
    {
        this.disease = disease;
    }

    public String getDisease() 
    {
        return disease;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setWard(String ward) 
    {
        this.ward = ward;
    }

    public String getWard() 
    {
        return ward;
    }
    public void setBedNum(String bedNum) 
    {
        this.bedNum = bedNum;
    }

    public String getBedNum() 
    {
        return bedNum;
    }
    public void setOutTime(Date outTime) 
    {
        this.outTime = outTime;
    }

    public Date getOutTime() 
    {
        return outTime;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clinicId", getClinicId())
            .append("source", getSource())
            .append("preDiagnose", getPreDiagnose())
            .append("manageId", getManageId())
            .append("firstDoctorId", getFirstDoctorId())
            .append("secondDoctorId", getSecondDoctorId())
            .append("illnessSummary", getIllnessSummary())
            .append("preHistory", getPreHistory())
            .append("familyHistory", getFamilyHistory())
            .append("disease", getDisease())
            .append("department", getDepartment())
            .append("ward", getWard())
            .append("bedNum", getBedNum())
            .append("createTime", getCreateTime())
            .append("outTime", getOutTime())
            .append("patientId", getPatientId())
            .append("status", getStatus())
            .toString();
    }
}
